﻿Public Class FrmRegistrarClienteJuridico

    Private Sub btnRegistrar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegistrar.Click

        Dim myPersonaJuridica As New PersonaJurica
        myPersonaJuridica.Nombre = txtNombre.Text

        CType(Me.MdiParent, frmContenedor).ListaPersonasJuridicasTotales.AddFirst(myPersonaJuridica)
        ' CType(Me.MdiParent, frmContenedor).ProcesoPadre = Process.GetCurrentProcess.ProcessName

       

        Me.Hide()
        '  Dim myfrmContenedor As New frmContenedor
        ' myfrmContenedor.ProcesoPadre = Process.GetCurrentProcess.ProcessName
        'myfrmContenedor.Show()

    End Sub
End Class